home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 4 (Reseller)
/
Apple Ref. & Pres. Lib.v4.0.iso
/
5-Fonts & Software
/
HyperCard 1.2.5
/
Help Stacks
/
Help
/
card_122369.txt
< prev
next >
Wrap
Text File
|
1989-09-06
|
602b
|
34 lines
-- card: 122369 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 4507
-- name:
-- part contents for background part 2
----- text -----
numToChar
-- part contents for background part 1
----- text -----
numToChar(<number>)
Converts an ascii number to its corresponding character.
numToChar(65) -- gives "A"
-- part of a decimal to hex conversion
if digit > 9 then
put numToChar(digit-10+65) into myChar
else
put digit into myChar
end if
-- part contents for background part 43
----- text -----
337,169
-- part contents for background part 44
----- text -----